<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>Docs For Class DomAr</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
						<script src="../media/lib/classTree.js"></script>
												<script language="javascript" type="text/javascript">
				var imgPlus = new Image();
				var imgMinus = new Image();
				imgPlus.src = "../media/images/plus.png";
				imgMinus.src = "../media/images/minus.png";
				
				function showNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgMinus.src;
					oTable.style.display = "block";
				}
				
				function hideNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgPlus.src;
					oTable.style.display = "none";
				}
				
				function nodeIsVisible(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
									break;
							}
					return (oTable && oTable.style.display == "block");
				}
				
				function toggleNodeVisibility(Node){
					if (nodeIsVisible(Node)){
						hideNode(Node);
					}else{
						showNode(Node);
					}
				}
			</script>
					</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> DomAr</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This class uses Identity map pattern.</p>
		<p class="notes">
			Located in <a class="field" href="_libs---DomAr---DomAr.class.php.html">/libs/DomAr/DomAr.class.php</a> (line <span class="field"><a href="../__filesource/fsource_DomAr__libsDomArDomAr.class.php.html#a29">29</a></span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>


	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="const-summary">
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#CACHED_OBJECTS_CACHE_KEY" title="details" class="const-name">CACHED_OBJECTS_CACHE_KEY</a> = 					<span class="var-type"> 'DomAr_cached_objects'</span>

				</div>
							</div>
		</div>
	</div>


	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
									<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
											
				<div class="method-definition">
					<img src="../media/images/StaticMethod.png" alt=" "/>
					static 						<span class="method-result">void</span>
										<a href="#flushStoredObjects" title="details" class="method-name">flushStoredObjects</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/StaticMethod.png" alt=" "/>
					static 						<span class="method-result"><a href="../DomAr/DomArObject.html">DomArObject</a></span>
										<a href="#getObject" title="details" class="method-name">getObject</a>
											(<span class="var-type">Int</span>&nbsp;<span class="var-name">$id</span>, <span class="var-type">String</span>&nbsp;<span class="var-name">$className</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/StaticMethod.png" alt=" "/>
					static 						<span class="method-result">void</span>
										<a href="#init" title="details" class="method-name">init</a>
										()
									</div>
															
				<div class="method-definition">
					<img src="../media/images/StaticMethod.png" alt=" "/>
					static 						<span class="method-result"><a href="../DomAr/DomArObject.html">DomArObject</a></span>
										<a href="#load" title="details" class="method-name">load</a>
											(<span class="var-type">Int</span>&nbsp;<span class="var-name">$id</span>, <span class="var-type">String</span>&nbsp;<span class="var-name">$className</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/StaticMethod.png" alt=" "/>
					static 						<span class="method-result">Array</span>
										<a href="#loadData" title="details" class="method-name">loadData</a>
											(<span class="var-type">Int</span>&nbsp;<span class="var-name">$id</span>, <span class="var-type">String</span>&nbsp;<span class="var-name">$className</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/StaticMethod.png" alt=" "/>
					static 						<span class="method-result">void</span>
										<a href="#storeObject" title="details" class="method-name">storeObject</a>
											(<span class="var-type"><a href="../DomAr/DomArObject.html">DomArObject</a></span>&nbsp;<span class="var-name">$object</span>)
									</div>
															
				<div class="method-definition">
					<img src="../media/images/StaticMethod.png" alt=" "/>
					static 						<span class="method-result">void</span>
										<a href="#unStoreObject" title="details" class="method-name">unStoreObject</a>
											(<span class="var-type"><a href="../DomAr/DomArObject.html">DomArObject</a></span>&nbsp;<span class="var-name">$object</span>)
									</div>
																																																																							</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodflushStoredObjects" id="flushStoredObjects"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/StaticMethod.png" />
		<span class="method-title">static flushStoredObjects</span> (line <span class="line-number"><a href="../__filesource/fsource_DomAr__libsDomArDomAr.class.php.html#a104">104</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Removes all objects from stored objects list</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			flushStoredObjects
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetObject" id="getObject"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/StaticMethod.png" />
		<span class="method-title">static getObject</span> (line <span class="line-number"><a href="../__filesource/fsource_DomAr__libsDomArDomAr.class.php.html#a58">58</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Loads object from stored objects or cached objects.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result"><a href="../DomAr/DomArObject.html">DomArObject</a></span>
		<span class="method-name">
			getObject
		</span>
					(<span class="var-type">Int</span>&nbsp;<span class="var-name">$id</span>, <span class="var-type">String</span>&nbsp;<span class="var-name">$className</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Int</span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$className</span>			</li>
				</ul>
		
			
	</div>
<a name="methodinit" id="init"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/StaticMethod.png" />
		<span class="method-title">static init</span> (line <span class="line-number"><a href="../__filesource/fsource_DomAr__libsDomArDomAr.class.php.html#a44">44</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Initializes DomAr.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			init
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodload" id="load"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/StaticMethod.png" />
		<span class="method-title">static load</span> (line <span class="line-number"><a href="../__filesource/fsource_DomAr__libsDomArDomAr.class.php.html#a135">135</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Loads custom object data from database. Use ClassName::load(id), not this one.</p>
	<ul class="tags">
				<li><span class="field">deprecated:</span> </li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result"><a href="../DomAr/DomArObject.html">DomArObject</a></span>
		<span class="method-name">
			load
		</span>
					(<span class="var-type">Int</span>&nbsp;<span class="var-name">$id</span>, <span class="var-type">String</span>&nbsp;<span class="var-name">$className</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Int</span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$className</span>			</li>
				</ul>
		
			
	</div>
<a name="methodloadData" id="loadData"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/StaticMethod.png" />
		<span class="method-title">static loadData</span> (line <span class="line-number"><a href="../__filesource/fsource_DomAr__libsDomArDomAr.class.php.html#a123">123</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Loads custom object data from database and returns it as array.</p>
	<ul class="tags">
				<li><span class="field">deprecated:</span> </li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">Array</span>
		<span class="method-name">
			loadData
		</span>
					(<span class="var-type">Int</span>&nbsp;<span class="var-name">$id</span>, <span class="var-type">String</span>&nbsp;<span class="var-name">$className</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">Int</span>
				<span class="var-name">$id</span>			</li>
					<li>
				<span class="var-type">String</span>
				<span class="var-name">$className</span>			</li>
				</ul>
		
			
	</div>
<a name="methodstoreObject" id="storeObject"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/StaticMethod.png" />
		<span class="method-title">static storeObject</span> (line <span class="line-number"><a href="../__filesource/fsource_DomAr__libsDomArDomAr.class.php.html#a86">86</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Stored object into stored objects list.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			storeObject
		</span>
					(<span class="var-type"><a href="../DomAr/DomArObject.html">DomArObject</a></span>&nbsp;<span class="var-name">$object</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../DomAr/DomArObject.html">DomArObject</a></span>
				<span class="var-name">$object</span>			</li>
				</ul>
		
			
	</div>
<a name="methodunStoreObject" id="unStoreObject"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/StaticMethod.png" />
		<span class="method-title">static unStoreObject</span> (line <span class="line-number"><a href="../__filesource/fsource_DomAr__libsDomArDomAr.class.php.html#a97">97</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Removes object from stored objects list</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		static <span class="method-result">void</span>
		<span class="method-name">
			unStoreObject
		</span>
					(<span class="var-type"><a href="../DomAr/DomArObject.html">DomArObject</a></span>&nbsp;<span class="var-name">$object</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../DomAr/DomArObject.html">DomArObject</a></span>
				<span class="var-name">$object</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="constCACHED_OBJECTS_CACHE_KEY" id="CACHED_OBJECTS_CACHE_KEY"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">CACHED_OBJECTS_CACHE_KEY</span>
			 = <span class="const-default"> 'DomAr_cached_objects'</span>
			(line <span class="line-number"><a href="../__filesource/fsource_DomAr__libsDomArDomAr.class.php.html#a39">39</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Key in session to where cached objects are stored.</p>
	
	
</div>
						
		</div>
	</div>
	
	<p class="notes" id="credit">
		Documentation generated on Fri, 24 Sep 2010 21:11:57 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>